from django.db import models

# Create your models here.

class PendingHours(models.Model):
    name = models.CharField(max_length=200)
    
    def __unicode__(self):
        return self.question

class Entries(models.Model):
    pendingHours = models.ForeignKey(PendingHours)
    entry_date = models.DateTimeField()
    hours = models.PositiveSmallIntegerField()

    """
    def __unicode__(self):
        return self.pendingHours
    """

